home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_SPELLCHECKER1_H__E6049D82_3B6A_11D2_AA5F_008048E292F1__INCLUDED_)
- #define AFX_SPELLCHECKER1_H__E6049D82_3B6A_11D2_AA5F_008048E292F1__INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
- /////////////////////////////////////////////////////////////////////////////
- // CSpellChecker wrapper class
-
- class CSpellChecker : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CSpellChecker)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x9e3c8247, 0xfb0c, 0x11d1, { 0xaa, 0x5e, 0x0, 0x80, 0x48, 0xe2, 0x92, 0xf1 } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
-
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
-
- // Attributes
- public:
- BOOL GetDelphi();
- void SetDelphi(BOOL);
-
- // Operations
- public:
- BOOL OpenDictionary(LPCTSTR pszMainDictFileName, LPCTSTR pszCustomDictFileName);
- void CloseDictionary();
- BOOL IsWordExist(LPCTSTR pszWord);
- void AddToChangeAll(LPCTSTR pszFind, LPCTSTR pszReplace);
- BOOL IsCharAlpha(short ch);
- BOOL IsCharLower(short ch);
- BOOL IsCharUpper(short ch);
- CString GetReplacement(LPCTSTR pszWord);
- CString GetSuggestion(LPCTSTR pszWord, short nSuggestionIndex);
- void AddWord(LPCTSTR pszNewWord);
- void AddToIgnoreAll(LPCTSTR pszWord);
- CString GetLanguageName(LPCTSTR pszDictFileName);
- void AboutBox();
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_SPELLCHECKER1_H__E6049D82_3B6A_11D2_AA5F_008048E292F1__INCLUDED_)
-